package com.wuchao.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wuchao.pojo.Man;
import com.wuchao.mapper.ManMapper;
import com.wuchao.service.ManService;
/**
 * @Author wuchao66
 * @Date 2022/9/21 11:15
 * @PackageName:com.wuchao.service.serviceImpl
 * @ClassName: ManServiceImpl
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Service
public class ManServiceImpl implements ManService{

    @Resource
    private ManMapper manMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return manMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Man record) {
        return manMapper.insert(record);
    }

    @Override
    public int insertSelective(Man record) {
        return manMapper.insertSelective(record);
    }

    @Override
    public Man selectByPrimaryKey(Integer id) {
        return manMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Man record) {
        return manMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Man record) {
        return manMapper.updateByPrimaryKey(record);
    }

}
